package com.itheima.dao;

import com.itheima.pojo.Member;
import com.itheima.pojo.OrderInfoVCS;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MemberDao {
    Integer queryMemberCountByMonth(@Param("end") String end);

    void updateMember(Map map);


    void updateMember(OrderInfoVCS orderInfoVCS);

    Integer queryTodayNewMember(@Param("today") String today);

    Integer queryTotal();

    Integer queryThisWeekNewMember(@Param("thisWeekOne") String thisWeekOne);


    List<Member> queryMemberFamily(@Param("id") Integer id);

    Integer getmemberCountByMonths(@Param("endDate") String endDate);

    List<String> getSex();

    int getmemberCountBySex(@Param("sex") String sex);

    Integer fidnCountByMaxAge(@Param("integer") Integer integer);

    Integer findCountByAge(@Param("integer") Integer integer, @Param("integer1") Integer integer1);


    List<Member> queryMemberAll(@Param("queryString") String queryString);
}
